package de.fhhannover.inform.hnefatafl.spiel;

import de.fhhannover.inform.hnefatafl.vorgaben.Cell;
import de.fhhannover.inform.hnefatafl.vorgaben.Move;

public class Zug implements Move{
	
	private Cell source;
	private Cell destination;

	public Zug(Cell source, Cell destination) {
		this.source = source;
		this.destination = destination;
	}

	@Override
	public Cell getFromCell() {
		return source;
	}

	@Override
	public Cell getToCell() {
		return destination;
	}
	
	@Override
	public String toString(){
		return String.format(source+" nach "+destination);
	}

}
